package com.maruping.disk.share.entity;

import java.util.Date;

public class PtShareEntity {
    private String shareId;
    private String fileUuid;
    private String userUuid;
    private String shareUrl;
    private Date expireTime;
    private Integer permission; // 0:只读；1:可编辑
    private Date createTime;
    private Integer status; // 0:有效；1:已取消

    public String getShareId() {
        return shareId;
    }

    public void setShareId(String shareId) {
        this.shareId = shareId;
    }

    public String getFileUuid() {
        return fileUuid;
    }

    public void setFileUuid(String fileUuid) {
        this.fileUuid = fileUuid;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Integer getPermission() {
        return permission;
    }

    public void setPermission(Integer permission) {
        this.permission = permission;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "PtShareEntity{" +
                "shareId='" + shareId + '\'' +
                ", fileUuid='" + fileUuid + '\'' +
                ", userUuid='" + userUuid + '\'' +
                ", shareUrl='" + shareUrl + '\'' +
                ", expireTime=" + expireTime +
                ", permission=" + permission +
                ", createTime=" + createTime +
                ", status=" + status +
                '}';
    }
}

